package com.school;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.school.mapper") // 扫描 MyBatis Mapper 接口
@EnableTransactionManagement // 启用事务管理
public class SchoolOdApplication {

    public static void main(String[] args) {
        SpringApplication.run(SchoolOdApplication.class, args);
    }

}
